package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.Publish;
import com.tanhua.domain.vo.PageResult;

public interface MomentApi {
    void add(Publish publish);

    PageResult findByPage(Long longUserId, Long page, Long pageASize);

    PageResult queryRecommendPublishList(Long longUserId, Long page, Long pagesize);

    PageResult findMyPublishLiset(Long page, Long pagesize, Long userId);

    Publish findPublishById(String userId);
}
